/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.gwc.yy.liuxue.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 录取数据Entity
 * @author 黎俊涛
 * @version 2017-04-13
 */
public class AdmitionData extends DataEntity<AdmitionData> {
	
	private static final long serialVersionUID = 1L;
	private String school;		// 院校
	private String number;		// 录取人数
	private String adYear;		// 年份
	
	public AdmitionData() {
		super();
	}

	public AdmitionData(String id){
		super(id);
	}

	@Length(min=0, max=64, message="院校长度必须介于 0 和 64 之间")
	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}
	
	@Length(min=0, max=11, message="录取人数长度必须介于 0 和 11 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@Length(min=0, max=10, message="年份长度必须介于 0 和 10 之间")
	public String getAdYear() {
		return adYear;
	}

	public void setAdYear(String adYear) {
		this.adYear = adYear;
	}
	
}